-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements to Traceable Integration #29129
Enhancements to Traceable Integration #29129
Conversation
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @ostolero will know the proposed changes are ready to be reviewed. |
- Adding ignore status codes - Field to mark the affected api internal or external - field to mark the actor ip address internal or external
- Incident Field Selection - Unit Tests
- Additional unit tests
For the Reviewer: Successfully created a pipeline in Gitlab with url: https://code.pan.run/xsoar/content/-/pipelines/6189790 |
@mtraceable Our internal build fails for:
Please fix. |
Hey @mtraceable, PR seems to be good :) Please see this page, and message me in Slack (DFIR) when you're available for a demo so that I'll schedule a meeting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mtraceable Demo went great, good job! :)
- Corrected log statements - Added a unit test for eventUrl
required: false | ||
- display: Incident optional field list | ||
name: optionalDomainEventFieldList | ||
defaultvalue: actorDevice,actorEntityId,actorId,actorScoreCategory,actorSession,anomalousAttribute,apiName,apiUri,category,ipAbuseVelocity,ipReputationLevel,securityEventType,securityScore,serviceId,serviceName,actorScore,threatCategory,type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need this (defaultvalue) if you have the list of options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ShirleyDenkberg the idea was to have it fetch as many fields to start with, and the customer can take a conscious decision to remove or retain the ones that they wish.
required: false | ||
- display: Additional API Attributes | ||
name: optionalAPIAttributes | ||
defaultvalue: isExternal,isAuthenticated,riskScore,riskScoreCategory,isLearnt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need this (defaultvalue) if you have the list of options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShirleyDenkberg same case here - the idea was to have it fetch as many fields to start with, and the customer can take a conscious decision to remove or retain the ones that they wish.
@MichaelYochpaz Doc review completed. |
* Enhancements to Traceable Integration (#29129) * Added new fields to the Incidents - ipAddressType and apiType * - Adding Event url in the incident - Adding ignore status codes - Field to mark the affected api internal or external - field to mark the actor ip address internal or external * - Status code filtering - Incident Field Selection - Unit Tests * - Changes for api attribute selections - Additional unit tests * Updated Release Notes. * Removing unused Integration configurations. * Readme changes. * Logs causing failed Test * - Fixed timestamps to include milliseconds. Else it misses capturing some spans. * Fixing datetime strings and unit tests. * removing unused imports * Making logs less noisy. * Logging changes. * Safe value checking. * Changes to Release Notes as per the findings from the pre-check * Review comments for the Release Notes. * Review Comments * Review Comments - changing demisto.log to demisto.info. * Pre-commit - changing the version of the docker image. * Pre-commit - changing docker version in the release notes. * Removing redundant point from the release notes. * - Fixed a index out of bound error - Corrected log statements - Added a unit test for eventUrl * Review comments for the README and ReleaseNotes. * Add testing IP to secrets-ignore --------- Co-authored-by: Mayuresh Kshirsagar <[email protected]> Co-authored-by: Michael Yochpaz <[email protected]>
* Enhancements to Traceable Integration (demisto#29129) * Added new fields to the Incidents - ipAddressType and apiType * - Adding Event url in the incident - Adding ignore status codes - Field to mark the affected api internal or external - field to mark the actor ip address internal or external * - Status code filtering - Incident Field Selection - Unit Tests * - Changes for api attribute selections - Additional unit tests * Updated Release Notes. * Removing unused Integration configurations. * Readme changes. * Logs causing failed Test * - Fixed timestamps to include milliseconds. Else it misses capturing some spans. * Fixing datetime strings and unit tests. * removing unused imports * Making logs less noisy. * Logging changes. * Safe value checking. * Changes to Release Notes as per the findings from the pre-check * Review comments for the Release Notes. * Review Comments * Review Comments - changing demisto.log to demisto.info. * Pre-commit - changing the version of the docker image. * Pre-commit - changing docker version in the release notes. * Removing redundant point from the release notes. * - Fixed a index out of bound error - Corrected log statements - Added a unit test for eventUrl * Review comments for the README and ReleaseNotes. * Add testing IP to secrets-ignore --------- Co-authored-by: Mayuresh Kshirsagar <[email protected]> Co-authored-by: Michael Yochpaz <[email protected]>
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
Related Issues
fixes: link to the issue
Description
Introduced new fields in the Incident to specify type of IP Address (ipAddressType) with values Internal or External
Introduced new fields in the Incident to specify type of API (apiType) with values Internal or External
Added new Incident field eventUrl containing the link to open the Incident Event in the Traceable Platform.
Ability to select the optional fields for the Incidents.
Ability to pull optional attributes of the affected APIs of the reported incidents:
Incidents for the selected HTTP Status Codes can now be ignored and not created in XSOAR.
Added additional input configuration for the Integration to provide the base url of the Traceable Platform UI endpoint.
Added additional input configuration to configure the HTTP Status Codes for which the Incidents should be ignored.
Updated the Docker image to: demisto/python3:3.10.12.68714.
Must have